﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace BookStore.Models
{
    public class Store
    {
        [Key]
        public int Id { get; set; }

        public string City { get; set; }

        public string StoreName { get; set; }

        public decimal Revenue { get; set; }

        public virtual ICollection<Book> Books { get; set; }

        public Store()
        {
            this.Books = new Collection<Book>();
        }
    }
}
